[INFO] fetching crate cyclonedx-rust 0.1.2...
[INFO] building cyclonedx-rust-0.1.2 against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] extracting crate cyclonedx-rust 0.1.2 into /workspace/builds/worker-0/source
[INFO] validating manifest of crates.io crate cyclonedx-rust 0.1.2 on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate cyclonedx-rust 0.1.2
[INFO] finished tweaking crates.io crate cyclonedx-rust 0.1.2
[INFO] tweaked toml for crates.io crate cyclonedx-rust 0.1.2 written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 26fa67bb3e5c7151f9cc6af4959ec5ede7a9e59bcbb74e3630a952c5faeb05e4
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "26fa67bb3e5c7151f9cc6af4959ec5ede7a9e59bcbb74e3630a952c5faeb05e4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "26fa67bb3e5c7151f9cc6af4959ec5ede7a9e59bcbb74e3630a952c5faeb05e4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "26fa67bb3e5c7151f9cc6af4959ec5ede7a9e59bcbb74e3630a952c5faeb05e4", kill_on_drop: false }`
[INFO] [stdout] 26fa67bb3e5c7151f9cc6af4959ec5ede7a9e59bcbb74e3630a952c5faeb05e4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] cc40bf190a732415cf835f2396d7ed3d86270af7f9b015a72211428dc8368b61
[INFO] running `Command { std: "docker" "start" "-a" "cc40bf190a732415cf835f2396d7ed3d86270af7f9b015a72211428dc8368b61", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.27
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.72
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling serde_derive v1.0.126
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling strsim v0.9.3
[INFO] [stderr]    Compiling serde v1.0.126
[INFO] [stderr]    Compiling rustversion v1.0.5
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling xml-rs v0.8.3
[INFO] [stderr]    Compiling time v0.1.43
[INFO] [stderr]    Compiling getrandom v0.2.3
[INFO] [stderr]    Compiling uuid v0.8.2
[INFO] [stderr]    Compiling yaserde v0.6.0
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling darling_core v0.10.2
[INFO] [stderr]    Compiling darling_core v0.12.4
[INFO] [stderr]    Compiling darling_macro v0.10.2
[INFO] [stderr]    Compiling strum_macros v0.20.1
[INFO] [stderr]    Compiling yaserde_derive v0.6.0
[INFO] [stderr]    Compiling darling_macro v0.12.4
[INFO] [stderr]    Compiling darling v0.10.2
[INFO] [stderr]    Compiling derive_builder_core v0.9.0
[INFO] [stderr]    Compiling darling v0.12.4
[INFO] [stderr]    Compiling serde_with_macros v1.4.1
[INFO] [stderr]    Compiling derive_builder v0.9.0
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling serde_json v1.0.64
[INFO] [stderr]    Compiling serde_with v1.9.1
[INFO] [stderr]    Compiling cyclonedx-rust v0.1.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> src/lib.rs:145:17
[INFO] [stdout]     |
[INFO] [stdout] 144 |                 unimplemented!();
[INFO] [stdout]     |                 ----------------- any code following this expression is unreachable
[INFO] [stdout] 145 |                 let cyclone_dx: CycloneDX = serde_json::from_reader(reader).unwrap();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/lib.rs:179:17
[INFO] [stdout]     |
[INFO] [stdout] 178 |                   unimplemented!();
[INFO] [stdout]     |                   ----------------- any code following this expression is unreachable
[INFO] [stdout] 179 | /                 match serde_json::to_writer_pretty(writer, &cyclone_dx) {
[INFO] [stdout] 180 | |                     Ok(_) => Ok(()),
[INFO] [stdout] 181 | |                     Err(err) => Err(err.to_string()),
[INFO] [stdout] 182 | |                 }
[INFO] [stdout]     | |_________________^ unreachable expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `XMLNS`
[INFO] [stdout]   --> src/lib.rs:76:1
[INFO] [stdout]    |
[INFO] [stdout] 76 | const XMLNS: &'static str = "http://cyclonedx.org/schema/Bom/1.2";
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 57.86s
[INFO] running `Command { std: "docker" "inspect" "cc40bf190a732415cf835f2396d7ed3d86270af7f9b015a72211428dc8368b61", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cc40bf190a732415cf835f2396d7ed3d86270af7f9b015a72211428dc8368b61", kill_on_drop: false }`
[INFO] [stdout] cc40bf190a732415cf835f2396d7ed3d86270af7f9b015a72211428dc8368b61
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 61f8ec5e9d99777736631585b5f824f8cb83eb993016ee7a41ad7f10d5d2510f
[INFO] running `Command { std: "docker" "start" "-a" "61f8ec5e9d99777736631585b5f824f8cb83eb993016ee7a41ad7f10d5d2510f", kill_on_drop: false }`
[INFO] [stderr]    Compiling cyclonedx-rust v0.1.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> src/lib.rs:145:17
[INFO] [stdout]     |
[INFO] [stdout] 144 |                 unimplemented!();
[INFO] [stdout]     |                 ----------------- any code following this expression is unreachable
[INFO] [stdout] 145 |                 let cyclone_dx: CycloneDX = serde_json::from_reader(reader).unwrap();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/lib.rs:179:17
[INFO] [stdout]     |
[INFO] [stdout] 178 |                   unimplemented!();
[INFO] [stdout]     |                   ----------------- any code following this expression is unreachable
[INFO] [stdout] 179 | /                 match serde_json::to_writer_pretty(writer, &cyclone_dx) {
[INFO] [stdout] 180 | |                     Ok(_) => Ok(()),
[INFO] [stdout] 181 | |                     Err(err) => Err(err.to_string()),
[INFO] [stdout] 182 | |                 }
[INFO] [stdout]     | |_________________^ unreachable expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `XMLNS`
[INFO] [stdout]   --> src/lib.rs:76:1
[INFO] [stdout]    |
[INFO] [stdout] 76 | const XMLNS: &'static str = "http://cyclonedx.org/schema/Bom/1.2";
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> src/lib.rs:145:17
[INFO] [stdout]     |
[INFO] [stdout] 144 |                 unimplemented!();
[INFO] [stdout]     |                 ----------------- any code following this expression is unreachable
[INFO] [stdout] 145 |                 let cyclone_dx: CycloneDX = serde_json::from_reader(reader).unwrap();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/lib.rs:179:17
[INFO] [stdout]     |
[INFO] [stdout] 178 |                   unimplemented!();
[INFO] [stdout]     |                   ----------------- any code following this expression is unreachable
[INFO] [stdout] 179 | /                 match serde_json::to_writer_pretty(writer, &cyclone_dx) {
[INFO] [stdout] 180 | |                     Ok(_) => Ok(()),
[INFO] [stdout] 181 | |                     Err(err) => Err(err.to_string()),
[INFO] [stdout] 182 | |                 }
[INFO] [stdout]     | |_________________^ unreachable expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `XMLNS`
[INFO] [stdout]   --> src/lib.rs:76:1
[INFO] [stdout]    |
[INFO] [stdout] 76 | const XMLNS: &'static str = "http://cyclonedx.org/schema/Bom/1.2";
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/lib.rs:284:9
[INFO] [stdout]     |
[INFO] [stdout] 284 |         CycloneDX::encode(&mut buffer, cyclone_dx, CycloneDXFormatType::XML);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/lib.rs:294:9
[INFO] [stdout]     |
[INFO] [stdout] 294 |         CycloneDX::encode(&mut writer, cyclone_dx, CycloneDXFormatType::XML);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 14.93s
[INFO] running `Command { std: "docker" "inspect" "61f8ec5e9d99777736631585b5f824f8cb83eb993016ee7a41ad7f10d5d2510f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "61f8ec5e9d99777736631585b5f824f8cb83eb993016ee7a41ad7f10d5d2510f", kill_on_drop: false }`
[INFO] [stdout] 61f8ec5e9d99777736631585b5f824f8cb83eb993016ee7a41ad7f10d5d2510f
